package vo.publishcoursevo;

import java.io.Serializable;

import Enum.CourseType;
import Enum.Faculty;
import Enum.Module;
import po.coursepo.PublishCoursePO;
import po.userpo.TchID;

public class PublishCourseVO implements Serializable{
	private String courseName;
	private String briefIntro;
	private String plan;
	private Faculty faculty;
	private CourseType type;
	private String tchName;
	private Module module;
	private String applicant;
	private int maxNum;
	
	public PublishCourseVO(String name , String intro , String plan,Faculty faculty , CourseType courseType,String tchName , int maxNum , Module module , String applicant){
		courseName = name;
		briefIntro = intro;
		this.plan = plan;
		this.faculty=faculty;
		this.type = courseType;
		this.tchName = tchName;
		this.module = module;
		this.applicant = applicant;
		this.maxNum = maxNum;
	}
	
	public PublishCourseVO(PublishCoursePO po){
		courseName = po.getCourseName();
		briefIntro = po.getIntro();
		this.plan = po.getPlan();
		this.faculty=po.getFaculty();
		this.type = po.getCourseType();
		this.tchName = po.getTchName();
		this.module = po.getModule();
		this.applicant = po.getApplicant();
		this.maxNum = po.getMaxNum();
	}
	
	public String getCourseName(){
		return courseName;
	}
	
	public String getIntro(){
		return briefIntro;
	}
	
	public String getPlan(){
		return plan;
	}
	
	public Faculty getFaculty() {
		return faculty;
	}
	
	public CourseType getCourseType(){
		return type;
	}
	
	public String getTchName(){
		return tchName;
	}
	
	public Module getModule(){
		return module;
	}
	
	public String getAppicant(){
		return applicant;
	}
	
	public int getMaxNum(){
		return maxNum;
	}
	
}
